package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ReferenceScopeCheck {

    private int beginIndex;
    private int endIndex;
    private boolean not;
    private ReferentialAction referenceScopeCheckAction;

    public ReferenceScopeCheck(int beginIndex,
                               int endIndex,
                               boolean not,
                               ReferentialAction referenceScopeCheckAction) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.not = not;
        this.referenceScopeCheckAction = referenceScopeCheckAction;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNot() {
        return not;
    }

    public ReferentialAction getReferenceScopeCheckAction() {
        return referenceScopeCheckAction;
    }

}
